﻿/**
 * @file SEAAutoWapper.h
 * @brief 自动创建 相关的python接口
 * @author wangning (2185896382@qq.com)
 * @date 2024-11-25
 */
#ifndef _PY_SEA_AUTO_WAPPER_H___
#define _PY_SEA_AUTO_WAPPER_H___

#include <QObject>
#include "PythonInterfaceAPI.h"

class SEAAuto;

/**
 * @brief 自动创建相关PYTHON接口装饰
 * @author wangning (2185896382@qq.com)
 * @date 2024-12-03
 */
class  PythonInterfaceAPI SEAAutoWapper : public QObject
{
    Q_OBJECT
public slots:
    /**
    * @brief 创建对象
    * @return SEAAuto*
    * @author wangning (2185896382@qq.com)
    * @date 2024-12-03
    */
    SEAAuto* new_SEAAuto();
    /**
     * @brief 删除对象
     * @param[i]  aut             装饰器创建的对象
     * @author wangning (2185896382@qq.com)
     * @date 2024-12-03
     */
    void delete_SEAAuto(SEAAuto* aut);
    /**
     * @brief 自动创建板
     * @author wangning (2185896382@qq.com)
     * @date 2024-11-25
     */
    void static_SEAAuto_AutoCreateShell();
    /**
     * @brief 自动创建声腔
     * @author wangning (2185896382@qq.com)
     * @date 2024-11-25
     */
    void static_SEAAuto_AutoCreateCavity();

private:
    /**
    * @brief 等待线程池
    * @author wangning (2185896382@qq.com)
    * @date 2024-11-25
    */
    void initSleep();
};

/**
 * @brief 文件接口封装，供装饰器装饰
 * @author wangning (2185896382@qq.com)
 * @date 2024-12-03
 */
class SEAAuto
{
public:
    explicit SEAAuto() = default;
    virtual ~SEAAuto() = default;

};
#endif
